package com.itheima.health.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.health.pojo.CheckGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CheckGroupMapper extends BaseMapper<CheckGroup> {

    @Select("select CHECKITEM_ID  from t_checkgroup_checkitem where CHECKGROUP_ID = #{gid} and IS_DELETE = #{0}")
    int[] findCheckItemInfoByGroupId(@Param("gid") int gid);
}
